<!DOCTYPE html>
<html>
<head>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script  type="text/javascript">
$(document).ready(function(){
                  $("#hide").click(function(){
                                   tanchaolog(0);
                                   $("p").hide();
                                   });
                  $("#show").click(function(){
                                   tanchaolog(1);
                                   $("p").show();
                                   });
                  });

function tt(one){
    if(one == '1'){
        $("p").hide();
    }else{
        $("p").show();
    }
}
</script>
</head>
<body>
<p id="p1">hello World !!!</p>
<button id="hide" type="button"> 隐藏</button>
<button id="show" type="button">显示</button>
</body>
</html>